// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_INV_COI
// * CreateDate    : 2014-06-05 18:30:07
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:07
// * LastChanger   : 2014-06-05 18:30:07
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class InvCoiTable : TableInfo
    {
		public const string C_TableName = "INV_COI";
		
		public const string C_ID = "ID";
		public const string C_CO_ID = "CO_ID";
		public const string C_PRODUCT_ID = "PRODUCT_ID";
		public const string C_CUR_QTY = "CUR_QTY";
		public const string C_CHK_QTY = "CHK_QTY";
		public const string C_LOCATION_EX_ID = "LOCATION_EX_ID";
		public const string C_LOCATION_ID = "LOCATION_ID";
		public const string C_TYPE = "TYPE";
		public const string C_REMARK = "REMARK";
		
		public InvCoiTable()
        {
            _tableName = "INV_COI";
        }
		
		protected static InvCoiTable _current;
        public static InvCoiTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new InvCoiTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_CO_ID, new ColumnInfo(C_CO_ID,"CoId", false, typeof(string)));
            _current.Add(C_PRODUCT_ID, new ColumnInfo(C_PRODUCT_ID,"ProductId", false, typeof(string)));
            _current.Add(C_CUR_QTY, new ColumnInfo(C_CUR_QTY,"CurQty", false, typeof(decimal)));
            _current.Add(C_CHK_QTY, new ColumnInfo(C_CHK_QTY,"ChkQty", false, typeof(decimal)));
            _current.Add(C_LOCATION_EX_ID, new ColumnInfo(C_LOCATION_EX_ID,"LocationExId", false, typeof(string)));
            _current.Add(C_LOCATION_ID, new ColumnInfo(C_LOCATION_ID,"LocationId", false, typeof(string)));
            _current.Add(C_TYPE, new ColumnInfo(C_TYPE,"Type", false, typeof(int)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo CO_ID
        {
            get { return this[C_CO_ID]; }
        }
		
		public ColumnInfo PRODUCT_ID
        {
            get { return this[C_PRODUCT_ID]; }
        }
		
		public ColumnInfo CUR_QTY
        {
            get { return this[C_CUR_QTY]; }
        }
		
		public ColumnInfo CHK_QTY
        {
            get { return this[C_CHK_QTY]; }
        }
		
		public ColumnInfo LOCATION_EX_ID
        {
            get { return this[C_LOCATION_EX_ID]; }
        }
		
		public ColumnInfo LOCATION_ID
        {
            get { return this[C_LOCATION_ID]; }
        }
		
		public ColumnInfo TYPE
        {
            get { return this[C_TYPE]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		
		
	}
}

